import { request } from '@umijs/max';

export async function getAdmin() {
  return request<string>(`/api/admin`, {
    method: 'GET',
  });
}
